﻿using System;

class Program
{
    static void Main()
    {
        //Exercise 9.
        //Write a program that prints an isosceles triangle of 9 copyright symbols ©. Use Windows Character Map 
        //to find the Unicode code of the © symbol. Note: the © symbol may be displayed incorrectly.

        char Symbol1 = '\u00A9';     
        Console.WriteLine("  "+Symbol1);
        Console.WriteLine(" "+Symbol1+Symbol1+Symbol1);        
        Console.WriteLine("{0}{1}{2}{3}{4}",Symbol1,Symbol1,Symbol1,Symbol1,Symbol1);
        Console.WriteLine();

        //and here is an alternative way to draw the hypotenuse.
        Console.WriteLine("  " + Symbol1);
        Console.WriteLine(" " + Symbol1 + Symbol1 + Symbol1); 
        string Symbol2 = "" + Symbol1;
        Console.WriteLine(Symbol2 + Symbol2 + Symbol2 + Symbol2 + Symbol2);

    }
}

